package by.kniazhych.core.server.local.rules {
	import flash.events.IEventDispatcher;
	
	/**
	 * ...
	 * @author Boutylin Mikhail
	 */
	public interface IPlayer extends IEventDispatcher {
		
		function get color():uint;
		function get hasKniazhych():Boolean;
		function get hasKniaz():Boolean;
		function get isUnderCheck():Boolean;
		function get isUnderRokash():Boolean;
		function hasPeace(type:uint):Boolean;
		function declareKniaz():void;
		function chosePeace():void;
		function selectPeace(type:uint):void;
		function forfeight():void;
		
		function get canPromovePawn():Boolean;
		function get missingPeaces():Array;
	}
	
}